package com.fanxl.security.core.support;

/**
 * 简单响应的封装类
 * @author zhailiang
 *
 */
public class SimpleResponse {
	
	public SimpleResponse(Object result){
		this.result = result;
	}

	public SimpleResponse(Object result, String message, int status){
		this.result = result;
		this.message = message;
		this.status = status;
	}

	public SimpleResponse(String message){
		this.message = message;
	}

	private int status;

	private String message;
	
	private Object result;

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}
}
